import { Config } from './interface'

// 生产环境配置
export default <Config>{
  server: {
    port: 3000,
    cors: false,
    scret: 'a123456',
  },
  db: {
    protocol: 'mongodb',
    dbName: 'demo',
    port: 27017,
    host: '127.0.0.1',
    userName: 'root',
    password: '1234',
    ssl: false,
  },
  swagger: {
    enabled: false,
    title: 'Nestjs example',
    description: 'The Nestjs API description',
    version: '1.0',
    path: 'api',
  },
  wechat: {
    gzh: {
      appid: 'string',
      appsecret: 'string',
      token: 'string',
    },
    mp: {
      appid: 'string',
      appsecret: 'string',
      token: 'string',
    },
  },
  log: {
    lvError: {
      zipped: true,
      maxFiles: '1d',
      maxSize: '20m',
    },
    lvInfo: {
      zipped: true,
      maxFiles: '1d',
      maxSize: '40m',
    },
  },
}
